home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / os20 / util / setasldim.lha / SetAslDim.doc < prev   
Text File  |  1992-11-08  |  3KB  |  60 lines

  1.  
  2.  
  3.                                  SetAslDim
  4.  
  5.                      Copyright © 1992 Sebastiano Vigna
  6.  
  7. SetAslDim is a very small and simple 2.04-only utility which lets you set
  8. the position and dimensions that the ASL file, font and screen mode
  9. requesters will assume as default. It obtains this result by
  10. SetFunction()ing the AllocAslRequest() call of the asl.library: the tag list
  11. passed by the application is cloned, and for each parameter specified on the
  12. command line of SetAslDim which is not already present in the tag list, a
  13. new tag is inserted which sets the desired parameter. When you don't want to
  14. use SetAslDim any longer, you can stop it by sending it a break (C, D, E or
  15. F). You can use the CLI or a process management tool in order to do this.
  16. Please DON'T stop SetAslDim while a file requester is open (or the process
  17. owning it will execute free memory).
  18.  
  19. SetAslDim can be used only from CLI. For instance, in your User-Startup you
  20. can insert
  21.  
  22. Run >NIL: <NIL: SetAslDim Width 512
  23.  
  24. The parameters
  25.  
  26. LeftEdge/K/N,TopEdge/K/N,Width/K/N,Height/K/N,Override/S
  27.  
  28. are rather obvious: you can specify any of these. The last switch, Override,
  29. causes the dimensions you suggest being used even if the application is
  30. specifying its own ones. SetAslDim's template will be printed if you specify
  31. the standard '?' argument.
  32.  
  33. Note that SetAslDim is neither patching AllocFileRequest(), which is now
  34. obsolete (and seems to be passing through AllocAslRequest() anyway), nor
  35. patching AslRequest(). Thus, an application that specifies dimension tags at
  36. each file requester call won't be patched. Since this is either a bad
  37. programming practice, or a firm expression that the dimension shouldn't be
  38. changed (even by the user), I don't think is a good idea to change it.
  39.  
  40. SetAslDim is Copyright © 1992 Sebastiano Vigna and it's freely distributable
  41. as long as all of its files are included in their original form without
  42. additions, deletions, or modifications of any kind, and only a nominal fee
  43. is charged for its distribution. This software is provided "AS IS" without
  44. warranty of any kind, either expressed or implied. By using SetAslDim, you
  45. agree to accept the entire risk as to the quality and performance of the
  46. program.
  47.  
  48. Comments, complaints, desiderata are welcome.
  49.  
  50.          Sebastiano Vigna
  51.          Via California 22
  52.          I-20144 Milano MI
  53.  
  54.          BIX: svigna
  55.          INTERNET: vigna@imiucca.csi.unimi.it
  56.                    vigna@ghost.sm.dsi.unimi.it
  57.          UUCP:cbmehq!cbmita!sebamiga!seba@cbmvax.cbm.commodore.com
  58.               ...{uunet|pyramid|rutgers}!cbmvax!cbmehq!cbmita!sebamiga!seba
  59.          FIDO: 2:332/607.28
  60.